<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="pg" uri="http://jsptags.com/tags/navigation/pager"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #F8F9FA;
}
-->
</style>
<link href="<%=basePath %>admin/images/skin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=basePath %>fckeditor/fckeditor.js"></script>
<script type="text/javascript" src="<%=basePath %>js/calendar.js"></script>
<script type="text/javascript">
	window.onload = function()
	{
	var oFCKeditor = new FCKeditor( 'content' ) ;
	oFCKeditor.BasePath = "<%=basePath %>fckeditor/" ;
	oFCKeditor.ReplaceTextarea() ;
	}
</script>
<body>
 <%
     if(session.getAttribute("msg")!=null)
     {
       %>
        <script type="text/javascript">
         alert('<%=session.getAttribute("msg")%>');  
        </script>
       <%
       session.removeAttribute("msg");
     }
     %>
	<form method="POST" action="active!updateActive.action">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td width="17" height="29" valign="top"
					background="<%=basePath %>admin/images/mail_leftbg.gif">
					<img src="<%=basePath %>admin/images/left-top-right.gif" width="17" height="29" />
				</td>
				<td width="935" height="29" valign="top"
					background="<%=basePath %>admin/images/content-bg.gif">
					<table width="100%" height="31" border="0" cellpadding="0"
						cellspacing="0" class="left_topbg" id="table2">
						<tr>
							<td height="31">
								<div class="titlebt">
									招聘信息修改
								</div>
							</td>
						</tr>
					</table>
				</td>
				<td width="16" valign="top"
					background="<%=basePath %>admin/images/mail_rightbg.gif">
					<img src="<%=basePath %>admin/images/nav-right-bg.gif" width="16" height="29" />
				</td>
			</tr>
			<tr>
				<td height="71" valign="middle"
					background="<%=basePath %>admin/images/mail_leftbg.gif">&nbsp;
					
				</td>
				<td valign="top" bgcolor="#F7F8F9">
					<table width="100%" height="138" border="0" cellpadding="0"
						cellspacing="0">
						
						<tr>
							<td valign="top">
								<table width="98%" border="0" align="center" cellpadding="0"
									cellspacing="0">
									<tr>
										<td class="left_txt">
											当前位置：招聘信息修改										
										</td>
									</tr>
									<tr>
										<td height="20">
											<table width="100%" height="1" border="0" cellpadding="0"
												cellspacing="0" bgcolor="#CCCCCC">
												<tr>
													<td></td>
												</tr>
											</table>										</td>
									</tr>
									<tr>
										<td>
											<table width="100%" height="55" border="0" cellpadding="0"
												cellspacing="0">
												<tr>
													<td width="10%" height="55" valign="middle">
														<img src="<%=basePath %>admin/images/title.gif" width="54" height="55">													</td>
													<td width="90%" valign="top">
														<span class="left_txt2">在这里，您可以根据您的网站要求，修改设置网站的</span><span
															class="left_txt3">会员信息录入</span><span class="left_txt2">！</span>
														<br>
														<span class="left_txt2">包括</span><span class="left_txt3">网站名称，网址，网站备案号，联系方式，网站公告，关键词，风格</span><span
															class="left_txt2">等以及网站</span><span class="left_txt3">会员及等级积分设置</span><span
															class="left_txt2">。 </span>													</td>
												</tr>
											</table>										</td>
									</tr>
									<tr>
										<td>
											<table width="100%" height="31" border="0" cellpadding="0"
												cellspacing="0" class="nowtable">
												<tr>
													<td class="left_bt2">
														&nbsp;&nbsp;&nbsp;&nbsp;招聘信息修改													</td>
												</tr>
											</table>										</td>
									</tr>
									<tr>
									  <td><table width="100%" border="0" cellspacing="0"
												cellpadding="0">
                                        <tr>
                                          <td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">信息标题： </td>
                                          <td width="1%" bgcolor="#f2f2f2">&nbsp;</td>
                                          <td width="30%" height="30" bgcolor="#f2f2f2">
                                              <input name="active.aid" type="hidden" id="aid" value="${active.aid }"/>
                                              <!-- active.mtype = 01代表 兼职工作 -->
											  <input name="active.mtype" type="hidden" id="mtype" value="01"/>
											  <!-- active.mname = ‘兼职工作’代表 总标题 -->
											  <input name="active.mname" type="hidden" id="mname" value="招聘工作"/>	
                                              <input name="active.title" type="text" id="title" value="${active.title }" size="30"/>
                                              <font size="4" color="red">*</font>&nbsp;<font size="2">招聘信息的标题必填</font> </td>
                                        </tr>
                                        <tr>
                                          <td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">企业名称/实践单位： </td>
                                          <td width="1%" bgcolor="#f2f2f2">&nbsp;</td>
                                          <td width="30%" height="30" bgcolor="#f2f2f2" style="font-size: 12px;">
														<select name="active.bid">
														 <c:if test="${!empty buessiness}">
															<c:forEach items="${buessiness}" var="buessines">
															  <c:if test="${'3' eq role}">
															    <c:if test="${manager.bid eq buessines.bid}">
																 <option value="${manager.bid}" selected="selected">${manager.allname }</option>		     
															    </c:if>

															  </c:if>
															  <c:if test="${'1' eq role}">
															    <c:choose>
															     <c:when test="${active.bid eq buessines.bid}">
															      <option value="${buessines.bid}" selected="selected">${buessines.allname }</option>
															     </c:when>
															     <c:otherwise>
															      <option value="${buessines.bid}">${buessines.allname }</option>
															     </c:otherwise>
															    </c:choose>
															    </c:if>					
															</c:forEach>
											              </c:if>
														</select>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
													企业简称:	<input name="active.bnockname" type="text" value="${active.bnockname }" id="title" size="15"/>
													【简称将在前台显示】
                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">活动/集合时间说明： </td>
                                          <td width="1%" bgcolor="#f2f2f2">&nbsp;</td>
                                          <td width="30%" height="30" bgcolor="#f2f2f2"><input name="active.timetips" value="${active.timetips}" type="text" id="timetips" size="30"/>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">活动/集合地点说明： </td>
                                          <td width="1%" bgcolor="#f2f2f2">&nbsp;</td>
                                          <td width="30%" height="30" bgcolor="#f2f2f2"><input name="active.placetips" value="${active.placetips }" type="text" id="placetips" size="30"/>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">报名截止时间： </td>
                                          <td width="1%" bgcolor="#f2f2f2">&nbsp;</td>
                                          <td width="30%" height="30" bgcolor="#f2f2f2" style="font-size: 12px;">
                                          <input name="active.endtime" onfocus="setday(this)" type="text" id="endtime" value="${active.endtime }" size="20"/>
                                               【点击输入框选择日期和时间】
                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">招聘职位： </td>
                                          <td width="1%" bgcolor="#f2f2f2">&nbsp;</td>
                                          <td width="30%" height="30" bgcolor="#f2f2f2"><input name="active.workname" value="${active.workname }" type="text" id="title" size="30"/>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">招聘类别： </td>
                                          <td width="1%" bgcolor="#f2f2f2">&nbsp;</td>
                                          <td width="30%" height="30" bgcolor="#f2f2f2">
                                            <c:choose>
										     <c:when test="${'01' eq active.ctype}">
										      <input type="radio" name="active.ctype" value="01" checked="checked"/><font size="2">兼职</font>
											  <input type="radio" name="active.ctype" value="02" /><font size="2">全职</font>	
										     </c:when>
										     <c:otherwise>
										      <input type="radio" name="active.ctype" value="01" /><font size="2">兼职</font>
											  <input type="radio" name="active.ctype" value="02" checked="checked"/><font size="2">全职</font>	
										     </c:otherwise>
											</c:choose>		
                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">是否公开： </td>
                                          <td width="1%" bgcolor="#f2f2f2">&nbsp;</td>
                                          <td width="30%" height="30" bgcolor="#f2f2f2">
                                          <c:choose>
										     <c:when test="${'是' eq active.remark2}">
										      <input type="radio" name="active.remark2" value="是" checked="checked"/><font size="2">公开</font>
											  <input type="radio" name="active.remark2" value="否" /><font size="2">不公开</font>	
										     </c:when>
										     <c:otherwise>
										      <input type="radio" name="active.remark2" value="是"/><font size="2">公开</font>
											  <input type="radio" name="active.remark2" value="否"  checked="checked"/><font size="2">不公开</font>	
										     </c:otherwise>
										  </c:choose>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">性别要求： </td>
                                          <td width="1%" bgcolor="#f2f2f2">&nbsp;</td>
                                          <td width="30%" height="30" bgcolor="#f2f2f2">
                                            <select name="active.sex">
                                             <c:if test="${'不限' eq active.sex}">
	                                            <option value="不限">不限</option>
	                                            <option value="男">男</option>
	                                            <option value="女">女</option>
                                             </c:if>
                                             <c:if test="${'男' eq active.sex}">
	                                            <option value="男">男</option>
	                                            <option value="不限">不限</option>
	                                            <option value="女">女</option>
                                             </c:if>
                                             <c:if test="${'女' eq active.sex}">
                                                <option value="女">女</option>
	                                            <option value="男">男</option>
	                                            <option value="不限">不限</option>
	                                            
                                             </c:if>
                                            </select>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">学校要求： </td>
                                          <td width="1%" bgcolor="#f2f2f2">&nbsp;</td>
                                          <td width="30%" height="30" bgcolor="#f2f2f2"><input name="active.stips" value="${active.stips }" type="text" id="stips" size="30"/>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">薪金待遇： </td>
                                          <td width="1%" bgcolor="#f2f2f2">&nbsp;</td>
                                          <td width="30%" height="30" bgcolor="#f2f2f2"><input name="active.money" value="${active.money }" type="text" id="money" size="30"/>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">底薪任务量： </td>
                                          <td width="1%" bgcolor="#f2f2f2">&nbsp;</td>
                                          <td width="30%" height="30" bgcolor="#f2f2f2"><input name="active.task" value="${active.task }" type="text" id="task" size="30"/>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">报名限制人数： </td>
                                          <td width="1%" bgcolor="#f2f2f2">&nbsp;</td>
                                          <td width="30%" height="30" bgcolor="#f2f2f2" style="font-size: 12px;">
                                            <input name="active.nowallnum" type="text"  value="${active.nowallnum }" id="title" size="10"/>
                                            &nbsp;&nbsp;&nbsp;&nbsp;
                                                   最终录用人数: 
                                            <input name="active.lastnum" type="text" value="${active.lastnum }" id="title" size="10"/>
                                             &nbsp;&nbsp;【请填写相应的阿拉伯数字】
                                          </td>
                                        </tr>
                                         <tr>
                                          <td width="5%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">工作详细： </td>
                                          <td width="1%" bgcolor="#f2f2f2">&nbsp;</td>
                                          <td width="30%" height="30" bgcolor="#f2f2f2">
                                           <textarea rows="30" cols="100" id="content" name="active.content">
                                              ${ active.content}
                                           </textarea>
                                          
                                          </td>
                                        </tr>
                                        <tr height="30">
                                          <td height="17" colspan="2" align="right"><input name="submit" type="submit" value="提交信息">                                          </td>
                                          <td height="17" colspan="1" align="center"><input name="reset" type="reset" value="信息重填">                                          </td>
                                        </tr>
                                      </table></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
				<td background="<%=basePath %>admin/images/mail_rightbg.gif">&nbsp;
					
				</td>
			</tr>
			<tr>
				<td valign="middle" background="<%=basePath %>admin/images/mail_leftbg.gif">
					<img src="<%=basePath %>admin/images/buttom_left2.gif" width="17" height="17" />
				</td>
				<td height="17" valign="top"
					background="<%=basePath %>admin/images/buttom_bgs.gif">
					<img src="<%=basePath %>admin/images/buttom_bgs.gif" width="17" height="17" />
				</td>
				<td background="<%=basePath %>admin/images/mail_rightbg.gif">
					<img src="<%=basePath %>admin/images/buttom_right2.gif" width="16" height="17" />
				</td>
			</tr>
		</table>
	</form>
</body>
